}
}
-/**
- * gtk_window_reshow_with_initial_size:
- * @window: a #GtkWindow
- *
- * Hides @window, then reshows it, resetting the
- * default size and position of the window. Used
- * by GUI builders only.
- *
- * Deprecated: 3.10: GUI builders can call gtk_widget_hide(),
- * gtk_widget_unrealize() and then gtk_widget_show() on @window
- * themselves, if they still need this functionality.
- **/
-void
-gtk_window_reshow_with_initial_size (GtkWindow *window)
-{
- GtkWidget *widget;
-
- g_return_if_fail (GTK_IS_WINDOW (window));
-
- widget = GTK_WIDGET (window);
-
- gtk_widget_hide (widget);
- gtk_widget_unrealize (widget);
- gtk_widget_show (widget);
-}
-
static void
gtk_window_destroy (GtkWidget *widget)
{
GDK_AVAILABLE_IN_ALL
gboolean gtk_window_has_group (GtkWindow *window);
-/* Ignore this unless you are writing a GUI builder */
-GDK_DEPRECATED_IN_3_10
-void gtk_window_reshow_with_initial_size (GtkWindow *window);
-
GDK_AVAILABLE_IN_ALL
GtkWindowType gtk_window_get_window_type (GtkWindow *window);
g_object_set_data (G_OBJECT (control_window), "spin2", spin);
- G_GNUC_BEGIN_IGNORE_DEPRECATIONS;
- button = gtk_button_new_with_label ("Reshow with initial size");
- g_signal_connect_object (button,
- "clicked",
- G_CALLBACK (gtk_window_reshow_with_initial_size),
- window,
- G_CONNECT_SWAPPED);
- gtk_box_pack_end (GTK_BOX (vbox), button, FALSE, FALSE);
- G_GNUC_END_IGNORE_DEPRECATIONS;
-
button = gtk_button_new_with_label ("Queue resize");
g_signal_connect_object (button,
"clicked",